package jm.nj.day08jia.demo07;

/*
 * String 内容是固定的
 * StringBuilder内容是可变的
 *
 * 构造方法
 * public StringBuilder();无参
 *
 * 方法
 *       public int capacity() //容量 理论值 最多可容纳X个
 *       public int length()  //长度
 * */
public class Test01 {
    public static void main(String[] args) {
        StringBuilder sb = new StringBuilder();

        System.out.println("sb.c = " + sb.capacity());
        System.out.println("sb.l = " + sb.length());
        System.out.println("sb = " + sb);

    }
}
